<?php

// No direct access
defined ('_JEXEC') or die();

jimport ('joomla.application.component.view');
jimport ('joomla.html.pagination');

class ShipnhanhViewOrders extends JView
{
	function display($tpl = null)
	{
		// Required JS
		JHtml::_('behavior.framework');
		
		// Toolbar
		JToolBarHelper::title(JText::_('COM_SHIPNHANH_SHIPNHANH_SUB_MENU_ORDERS_MANAGMENT'), 'generic.png' );
		JToolBarHelper::addNewX('order.add');
		JToolBarHelper::editListX('order.edit');
		JToolBarHelper::editListX('order.editmany', 'Edit many', true, true);
		JToolBarHelper::custom('order.billout', 'stats.png', 'stats.png', 'Billout', true, true );
		JToolBarHelper::deleteList( JText::_( 'Confirm delete' ),
				'orders.delete' );
		
		$this->pagination = $this->get('Pagination');
		$this->items = $this->get('Items');
		$this->state = $this->get('State');
		
		parent::display($tpl);
	}
}